package model;

import java.util.Date;

public class User {
	
	public User(String email,String userName, String passwd, String name,
			String sex, String dayOfBirth, String phone,
			String file) {
		super();
		this.email = email;
		this.passwd = passwd;
		this.name = name;
		this.sex = sex;
		this.dayOfBirth = dayOfBirth;
		this.phone = phone;
		this.file = file;
		this.userName = userName;
	}
	public String getSex() {
		return sex;
	}
	private String email;
	private String passwd;
	private String userName;
	private String name;
	private String sex;
	private String dayOfBirth;
	private String phone;
	private String file;
	private double money;
	public User(String email, String passwd, String name,
			String sex, String dayOfBirth, String phone, String file,
			double money) {
		super();
		this.email = email;
		this.passwd = passwd;
		this.userName = userName;
		this.name = name;
		this.sex = sex;
		this.dayOfBirth = dayOfBirth;
		this.phone = phone;
		this.file = file;
		this.money = money;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getEmail() {
		return email;
	}
	@Override
	public String toString() {
		return "User [email=" + email + ", passwd=" + passwd + ", userName="
				+ userName + ", name=" + name + ", sex=" + sex
				+ ", dayOfBirth=" + dayOfBirth + ", phone=" + phone + ", file="
				+ file + "]";
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String isSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getDayOfBirth() {
		return dayOfBirth;
	}
	public void setDayOfBirth(String dayOfBirth) {
		this.dayOfBirth = dayOfBirth;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getFile() {
		return file;
	}
	public void setFile(String file) {
		this.file = file;
	}


}
